package com.ny.dto;

import lombok.Data;
import javax.validation.constraints.NotNull;
import io.swagger.annotations.ApiModelProperty;

/**
 * 预约课程入参
 *
 * @author MSI-NB
 * @date 2025-03-08 13:14:38
 */
@Data
public class CourseReservationDTO {

    /**
     * 会员ID: 会员ID，必填
     */
    @NotNull(groups = { CreateGroup.class, DeleteGroup.class }, message = "会员ID不能为空")
    @ApiModelProperty(value = "会员ID: 会员ID，必填")
    private Integer memberId;

    /**
     * 课程ID: 课程ID，必填
     */
    @NotNull(groups = { CreateGroup.class, DeleteGroup.class }, message = "课程ID不能为空")
    @ApiModelProperty(value = "课程ID: 课程ID，必填")
    private Integer courseId;

    /**
     * 预约ID: 预约ID，必填
     */
    @NotNull(groups = { DeleteGroup.class }, message = "预约ID不能为空")
    @ApiModelProperty(value = "预约ID: 预约ID，必填")
    private Integer reservationId;
}
